package com.rengl.javamvc.dao;

import com.rengl.javamvc.model.User;

import java.util.ArrayList;
import java.util.List;

public class UserMapper {
    List<User> userList = new ArrayList<>();

    public void add(User user){
        userList.add(user);
    }

    public List<User> list() {
        return userList;
    }
}
